package com.med.service;

import com.med.dto.RespondDTO;
import com.med.entity.AppointmentDO;
import com.med.entity.AppointmentOrderDO;
import com.med.entity.DoctorDO;
import com.med.entity.MedicineOrderDO;
import com.med.vo.OrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @BelongsProject: internet-based-healthcare02
 * @BelongsPackage: com.med.service
 * @Author: WWJ
 * @CreateTime: 2025-08-27 15:49
 * @Description: TODO
 * @Version: 1.0
 */
public interface IOrderFrontService {

    //查询该用户的全部预约订单信息
    List<AppointmentOrderDO> selectAllOrder(Integer userId);

    //查询该用户的开药订单
    List<MedicineOrderDO> queryMedicineOrder(Integer userId);

    List<AppointmentDO> getAllAppointment();

    RespondDTO queryMedicine(OrderVO orderVO);

    RespondDTO doctorInfo(OrderVO orderVO);

    //插入评论
    RespondDTO insertComment(OrderVO orderVO);

    //查看用户是否已经评论了
    RespondDTO isComment(OrderVO orderVO);

}
